﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace TianShiProject.Models.HumanAffairs
{
    /// <summary>
    /// 离职管理
    /// </summary>
    public class Leave : BasicAggregateRoot<int>
    {
        /// <summary>
        /// 编号
        /// </summary>
        public string LeaveNumber { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string LeaveName { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        public int PositionId { get; set; }
        /// <summary>
        /// 上级负责人
        /// </summary>
        public int SuperiorManager { get; set; }
        /// <summary>
        /// 入职日期
        /// </summary>
        public DateTime EntryTime { get; set; }
        /// <summary>
        /// 最后工作日
        /// </summary>
        public DateTime LastTime { get; set; }
        /// <summary>
        /// 离职原因
        /// </summary>
        public string Cause { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 审批人
        /// </summary>
        public string Approver { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }
    }
}
